package com.shensi.api.admin.domian.station.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shensi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

@ApiModel(description = "油站")
public class StationDto extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 油站id
     */
    @ApiModelProperty(value = "油站id")
    private Long stationId;


    /**
     * 油站名称
     */
    private String stationName;

    /**
     * 是否使用支付宝
     */
    private String isAlipayFlag;


    /**
     * 负责人
     */
    private String leader;

    /**
     * 联系电话
     */
    private String phone;


    /**
     * 油站状态:1正常,0停用
     */
    private String status;


    /**
     * 油站经度
     */
    private String stationLongitude;

    /**
     * 油站纬度
     */
    private String stationLatitude;

    public int getIsShowCommission() {
        return isShowCommission;
    }

    public void setIsShowCommission(int isShowCommission) {
        this.isShowCommission = isShowCommission;
    }

    @ApiModelProperty(value = "是否展示渠道费")
    private int isShowCommission;


    /**
     * 省市区码[]用，隔开
     */
    private String regionData;
    /**
     * 详细地址
     */
    private String detailRegionData;

    /**
     * 创建人
     */
    private Long createUser;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /**
     * 删除人
     */
    private Long deleteUser;
    /**
     * 删除时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deleteDate;

    /**
     * 删除标志
     */
    private String deleteStatus;

    /**
     * 头像地址
     */
    private String headImg;


    /**
     * 油企id
     */
    private Long enterpriseId;
    private String enterpriseName;

    /**
     * 油站编码
     */
    private String stationCode;

    /**
     * 图片地址
     */
    private String imgUrl;

    /**
     * 图片地址名称
     */
    private String imgName;


    /**
     * 图片地址名称
     */
    private String stationNotice;

    private String stationPayPush;

    /**
     * 省市区码[]用，隔开
     */
    private String regionDataList[];

    /**
     * 支付方式
     */
    private Long payWayIdList[];

    /**
     * 轮播图
     */
    private List<img> imgFileList;

    /**
     * 是否开启员工小程序支付0关闭1开启
     */
    private String employeeAppletFlag;

    private String dialogueAdFlag;

    private String classPersonFlag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;

    /**
     * 订单是否必须加油员
     * 1-是，0-否
     */
    private String needStaff;

    //清分商户号
    private String clearAccount;

    //结算账户号
    private String clearMerMo;

    @ApiModelProperty(value = "是否接入零管，0 表示未接入，1 表示接入")
    private String isTube;


    public String getClearAccount() {
        return clearAccount;
    }

    public void setClearAccount(String clearAccount) {
        this.clearAccount = clearAccount;
    }

    public String getClearMerMo() {
        return clearMerMo;
    }

    public void setClearMerMo(String clearMerMo) {
        this.clearMerMo = clearMerMo;
    }

    //油站是否开启自动班结 0 未开启 1 开启
    private Integer isAutomaticClass;

    public Integer getIsAutomaticClass() {
        return isAutomaticClass;
    }

    public void setIsAutomaticClass(Integer isAutomaticClass) {
        this.isAutomaticClass = isAutomaticClass;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getClassPersonFlag() {
        return classPersonFlag;
    }

    public void setClassPersonFlag(String classPersonFlag) {
        this.classPersonFlag = classPersonFlag;
    }

    public String getEmployeeAppletFlag() {
        return employeeAppletFlag;
    }

    public void setEmployeeAppletFlag(String employeeAppletFlag) {
        this.employeeAppletFlag = employeeAppletFlag;
    }

    public String getStationNotice() {
        return stationNotice;
    }

    public void setStationNotice(String stationNotice) {
        this.stationNotice = stationNotice;
    }

    public String getStationPayPush() {
        return stationPayPush;
    }

    public void setStationPayPush(String stationPayPush) {
        this.stationPayPush = stationPayPush;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getImgName() {
        return imgName;
    }

    public void setImgName(String imgName) {
        this.imgName = imgName;
    }

    public List<img> getImgFileList() {
        return imgFileList;
    }

    public void setImgFileList(List<img> imgFileList) {
        this.imgFileList = imgFileList;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long[] getPayWayIdList() {
        return payWayIdList;
    }

    public void setPayWayIdList(Long[] payWayIdList) {
        this.payWayIdList = payWayIdList;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getIsAlipayFlag() {
        return isAlipayFlag;
    }

    public void setIsAlipayFlag(String isAlipayFlag) {
        this.isAlipayFlag = isAlipayFlag;
    }

    public String[] getRegionDataList() {
        return regionDataList;
    }

    public void setRegionDataList(String[] regionDataList) {
        this.regionDataList = regionDataList;
    }

    public String getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(String deleteStatus) {
        this.deleteStatus = deleteStatus;
    }


    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getDeleteUser() {
        return deleteUser;
    }

    public void setDeleteUser(Long deleteUser) {
        this.deleteUser = deleteUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }


    public Date getDeleteDate() {
        return deleteDate;
    }

    public void setDeleteDate(Date deleteDate) {
        this.deleteDate = deleteDate;
    }


    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStationLongitude() {
        return stationLongitude;
    }

    public void setStationLongitude(String stationLongitude) {
        this.stationLongitude = stationLongitude;
    }

    public String getStationLatitude() {
        return stationLatitude;
    }

    public void setStationLatitude(String stationLatitude) {
        this.stationLatitude = stationLatitude;
    }


    public String getRegionData() {
        return regionData;
    }

    public void setRegionData(String regionData) {
        this.regionData = regionData;
    }

    public String getDetailRegionData() {
        return detailRegionData;
    }

    public void setDetailRegionData(String detailRegionData) {
        this.detailRegionData = detailRegionData;
    }

    public String getDialogueAdFlag() {
        return dialogueAdFlag;
    }

    public void setDialogueAdFlag(String dialogueAdFlag) {
        this.dialogueAdFlag = dialogueAdFlag;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getNeedStaff() {
        return needStaff;
    }

    public void setNeedStaff(String needStaff) {
        this.needStaff = needStaff;
    }

    public String getIsTube() {
        return isTube;
    }

    public void setIsTube(String isTube) {
        this.isTube = isTube;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("stationId", getStationId())
                .append("stationName", getStationName())
                .append("leader", getLeader())
                .append("phone", getPhone())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }


}
